Carbon


PBGetUGEntryAsync

Header: Files.h Carbon status: Supported

Gets a list of user and group entries from the local file server.

OSErr PBGetUGEntryAsync (
    HParmBlkPtr paramBlock
);
paramBlock

A pointer to an objParam variant of an HFS parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The PBGetUGEntryAsync function returns the name and ID of the user or group whose name is alphabetically next to that of the user or group whose ID is contained in the ioObjID field. You can enumerate the users or groups in alphabetical order by setting ioObjID to 0 and then repetitively calling PBGetUGEntryAsync with the same parameter block until the result code fnfErr is returned.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)